<%--
  Created by IntelliJ IDEA.
  User: 23333
  Date: 2023/3/11
  Time: 10:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
</head>
<body>
<h1>注册页面</h1>
<form action="/OA" method="post">
  <input type="hidden" name="action" value="sign_up">
  <br>
  <label>姓名：
    <input type="text" name="name" placeholder="NAME" value="jeck">
  </label>
  <br>
  <label>密码：
    <input type="password" name="password" placeholder="PASSWORD" value="123">
  </label>
  <br>
  <label>年龄：
    <input type="number" name="age" placeholder="AGE" value="18">
  </label>
  <br>
  <label>
    性别：
    <input type="radio" name="gender" value="M" checked>Male
    <input type="radio" name="gender" value="F">Female
  </label>
  <br>
  <input type="submit" value="注册">
</form>
<p style="color: #FF0000">
  <%
    String message = (String) request.getAttribute("message");
    if (message != null){
      out.print(message);
    }
  %>
</p>
</body>
</html>
